/*
 * @Author: hongbin
 * @Date: 2021-09-16 11:16:02
 * @LastEditTime: 2021-09-16 11:19:01
 * @Description: 前端用于测试js页面
 * @FilePath: /hongbin_xyz_backend/src/eval.js
 */

const evalCollection = 'eval';

const getEval = (findData) => async (req, res) => {
    const [result] = await findData({
        collection: evalCollection,
    })
    console.log(result);
    result && res.json(result.inner);
}

module.exports = { getEval }